package com.qc.entity.message;

import java.io.Serializable;

public class ChatMessageEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8975162949762061875L;

	
	protected long msgId;						// 消息ID
	protected long senderId;     				//发送者id
	protected long targetId; 					// 接收者ID
	protected int category;    	 		//发送者类型, 1/BOSS 2/秘书 3/客服
	protected String senderNickname;   			//发送者昵称
	protected String senderAvatar;  	 	//发送者头像路径 
	protected String content;      			//消息内容
	protected String sendTime;  				//消息发送(创建)时间
	protected int contentType;    // 消息类型  0，文本消息  1，图片消息
	
	protected String targetNickname; // 对方昵称
	protected int targetCategory;	// 对方用户类型  客服，还是普通用户
	protected String targetAvatar;		// 对方头像
	
	public long getMsgId() {
		return msgId;
	}
	public void setMsgId(long msgId) {
		this.msgId = msgId;
	}
	public long getSenderId() {
		return senderId;
	}
	public void setSenderId(long senderId) {
		this.senderId = senderId;
	}
	public long getTargetId() {
		return targetId;
	}
	public void setTargetId(long targetId) {
		this.targetId = targetId;
	}
	public String getSenderNickname() {
		return senderNickname;
	}
	public void setSenderNickname(String senderNickname) {
		this.senderNickname = senderNickname;
	}
	public String getSenderAvatar() {
		return senderAvatar;
	}
	public void setSenderAvatar(String senderAvatar) {
		this.senderAvatar = senderAvatar;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getSendTime() {
		return sendTime;
	}
	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}
	public int getContentType() {
		return contentType;
	}
	public void setContentType(int contentType) {
		this.contentType = contentType;
	}
	public String getTargetNickname() {
		return targetNickname;
	}
	public void setTargetNickname(String targetNickname) {
		this.targetNickname = targetNickname;
	}
	public String getTargetAvatar() {
		return targetAvatar;
	}
	public void setTargetAvatar(String targetAvatar) {
		this.targetAvatar = targetAvatar;
	}
	public int getCategory() {
		return category;
	}
	public void setCategory(int category) {
		this.category = category;
	}
	public int getTargetCategory() {
		return targetCategory;
	}
	public void setTargetCategory(int targetCategory) {
		this.targetCategory = targetCategory;
	}
	
	
}
